package com.rh.feign_service;

import com.rh.result.ResultVo;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Hystrix服务降级
 */
@Component
public class FeignDegrade implements FeignEduService {
    @Override
    public ResultVo removeAlyVideo(String videoId) {
        return ResultVo.error().message("删除视频出错了----------------");
    }

    @Override
    public ResultVo deleteBatchVideo(List<String> videoIdList) {
        return ResultVo.error().message("删除多个视频出错了--------------");
    }
}
